#include <SFML/Graphics.hpp>
#include "type.hpp"
#include "Game.hpp"
#include "Render.hpp"
#include "Input.hpp"
#include "SFMLGame.hpp"

int main(int , char* [])
{
  openfe::Game* ga;
  openfe::Input* in;
  openfe::Render* re;

  ga = new openfe::SFMLGame();
  in = ga->getInput();
  re = ga->getRender();

  while(!ga->finished())
    {
      in->update();

      ga->update();

      re->update();
    }

  return 0;
}
